home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / Basic / Visual Basic.60 / COMMON / TOOLS / VCM / VCM.MDB / VcmComponentContainer / 14_Cabinet / DBVIEWVW.H < prev    next >
Encoding:
C/C++ Source or Header  |  1998-05-18  |  1.7 KB  |  64 lines

  1. // DBViewVw.h : interface of the CDBViewView class
  2. //
  3. // This is a part of the Microsoft Foundation Classes and
  4. // Templates (MFC&T).
  5. // Copyright (C) 1998 Microsoft Corporation
  6. // All rights reserved.
  7. //
  8. // This source code is only intended as a supplement to the
  9. // MFC&T Reference and related electronic documentation provided
  10. // with the library.  See these sources for detailed information
  11. // regarding the MFC&T product.
  12. //
  13.  
  14. /////////////////////////////////////////////////////////////////////////////
  15.  
  16. class CDBViewView : public CTreeView
  17. {
  18. protected: // create from serialization only
  19.     CDBViewView();
  20.     DECLARE_DYNCREATE(CDBViewView)
  21.  
  22. // Attributes
  23. public:
  24.     CDBViewDoc* GetDocument();
  25.  
  26. // Operations
  27. public:
  28.  
  29. // Overrides
  30.     // ClassWizard generated virtual function overrides
  31.     //{{AFX_VIRTUAL(CDBViewView)
  32.     public:
  33.     virtual void OnDraw(CDC* pDC);  // overridden to draw this view
  34.     virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
  35.     protected:
  36.     virtual void OnInitialUpdate(); // called first time after construct
  37.     //}}AFX_VIRTUAL
  38.  
  39. // Implementation
  40. public:
  41.     virtual ~CDBViewView();
  42. #ifdef _DEBUG
  43.     virtual void AssertValid() const;
  44.     virtual void Dump(CDumpContext& dc) const;
  45. #endif
  46.  
  47. protected:
  48.  
  49. // Generated message map functions
  50. protected:
  51.     //{{AFX_MSG(CDBViewView)
  52.         // NOTE - the ClassWizard will add and remove member functions here.
  53.         //    DO NOT EDIT what you see in these blocks of generated code !
  54.     //}}AFX_MSG
  55.     DECLARE_MESSAGE_MAP()
  56. };
  57.  
  58. #ifndef _DEBUG  // debug version in DBViewVw.cpp
  59. inline CDBViewDoc* CDBViewView::GetDocument()
  60.    { return (CDBViewDoc*)m_pDocument; }
  61. #endif
  62.  
  63. /////////////////////////////////////////////////////////////////////////////
  64.